index.html.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  1. <template>
  2. <!-- 头部 -->
  3. <templateHead></templateHead>
  4. <!-- 菜单 -->
  5. <templateMenu></templateMenu>
  6. <!-- 内容 -->
  7. <div>
  8. <!--频道菜单-->
  9. <templateChannelMenu :skinId="skinId" :navigateData="navigateData.data" :templateData="testTemplateData2" :routeId="routeId"></templateChannelMenu>
  10. <!--滚动图文组合-->
  11. <templateScrollList :skinId="skinId" :templateData="testTemplateData"></templateScrollList>
  12. <!--广告组件-->
  13. <templateAd :adTag="'bbzxw_class_2'" :skinId="skinId" :adData="adData"></templateAd>
  14. <!--图文组合3-->
  15. <templateNewSector3 :skinId="skinId" :templateData="testTemplateData"></templateNewSector3>
  16. <!--广告组件-->
  17. <!-- <templateAd :adTag="'nmw_category_0001'" :skinId="skinId" :adData="adData"></templateAd> -->
  18. <!--图文组合1-->
  19. <templateNewSector1 :skinId="skinId" :templateData="testTemplateData"></templateNewSector1>
  20. <!--图文组合2-->
  21. <templateNewSector2 :skinId="skinId" :templateData="testTemplateData"></templateNewSector2>
  22. </div>
  23. <!-- 底部 -->
  24. <templateFoot></templateFoot>
  25. </template>
  26. <script setup>
  27. //0.加载全局模板组件 start---------------------------------------->
  28. //0.1全局通栏
  29. import templateHead from '@/components/template/sector/head/1200x200/1.vue'
  30. import templateMenu from '@/components/template/sector/menu/1200x130/1.vue'
  31. import templateFoot from '@/components/template/sector/foot/1200x580/1.vue'
  32. //0.2局部通栏
  33. //0.2.1广告组件
  34. import templateAd from '@/components/template/sector/body/ad/1200x90/1.vue'
  35. //0.2.2 频道菜单
  36. import templateChannelMenu from '@/components/template/sector/body/class/menu/1200x100/1.vue'
  37. //0.2.3 滚动图文组合
  38. import templateScrollList from '@/components/template/sector/body/class/banner/1200x410/1.vue'
  39. //0.2.3 图文组合1
  40. import templateNewSector1 from '@/components/template/sector/body/index/list/1200x470/1.vue'
  41. //0.2.4 图文组合2
  42. import templateNewSector2 from '@/components/template/sector/body/index/list/1200x470/2.vue'
  43. //0.2.5 图文组合3
  44. import templateNewSector3 from '@/components/template/sector/body/index/list/1200x980/1.vue'
  45. //0.加载全局模板组件 end---------------------------------------->
  46. //1.获得基本信息单元 start---------------------------------------->
  47. //1.1获得页面依赖
  48. import { ref, onMounted } from 'vue';
  49. import { ElMessage } from 'element-plus';
  50. //1.2使用url查询导航池id
  51. const targetSegment = getRoutePath(1);
  52. const routeId = ref("");
  53. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  54. method: 'GET',
  55. query: {
  56. 'pinyin': targetSegment,
  57. },
  58. });
  59. if (getRouteId.code == 200) {
  60. routeId.value = getRouteId.data.category_id
  61. }
  62. //1.3获得频道页导航
  63. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  64. method: 'GET',
  65. query: {
  66. 'placeid': 1,
  67. 'pid': routeId.value,
  68. 'num': 8
  69. },
  70. });
  71. //1.4获得pinia源
  72. import { useTemplateBaseStore } from '@/stores/templateBase'
  73. const templateBaseStore = useTemplateBaseStore()
  74. //1.5获得该页的皮肤id - 在每个组件中也是同样的获得方法
  75. const skinId = ref("")
  76. //1.6获得站点基本信息
  77. const responseStatus = await requestDataPromise('/web/getWebsiteAllinfo', {
  78. method: 'GET',
  79. query: {
  80. 'link_textnum':24,
  81. 'link_imgnum':18,
  82. 'link_footnum':4
  83. },
  84. });
  85. if (responseStatus.code == 200) {
  86. //1.6.1设置站点基本信息
  87. templateBaseStore.setWebSiteInfo(responseStatus.data)
  88. //1.6.2设置皮肤id
  89. skinId.value = templateBaseStore.webSiteInfo.website_foot.foot_info.template_id;
  90. }
  91. //1.7获得广告池
  92. const adData = ref([]);
  93. const adResponseStatus = await requestDataPromise('/web/getWebsiteAdvertisement', {
  94. method: 'GET',
  95. query: {},
  96. });
  97. if (adResponseStatus.code == 200) {
  98. templateBaseStore.setAdList(adResponseStatus.data)
  99. adData.value = adResponseStatus.data;
  100. }
  101. //1.8.seo
  102. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  103. method: 'GET',
  104. query: {
  105. 'catid': routeId.value
  106. },
  107. });
  108. let seoTitle = setData.data.seo_title;
  109. let seoDescription = setData.data.seo_description;
  110. let seoKeywords = setData.data.seo_keywords;
  111. let seoSuffix = setData.data.suffix;
  112. let seoName = setData.data.website_name;
  113. useSeoMeta({
  114. title: seoTitle + "_" + seoSuffix,
  115. meta: [
  116. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  117. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  118. ]
  119. });
  120. //1.获得基本信息单元 end---------------------------------------->
  121. //2.页面数据 start---------------------------------------->
  122. //2.0 测试数据 后期移除
  123. const testTemplateData = {
  124. "sectorName": "text",
  125. "componentList": [
  126. {
  127. "component_type": 1,//1=新闻 2=广告
  128. "component_style": 1,//样式
  129. "sort": 1,//组件位置
  130. "data": {
  131. "alias":"一级导航名称",
  132. "category_id": 11,
  133. "pinyin": "nongyeshengchan",
  134. "text": [
  135. {
  136. "id": 2863,
  137. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  138. "islink": 0,
  139. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  140. },
  141. {
  142. "id": 50129,
  143. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  144. "islink": 0,
  145. "pinyin": "sannongzixun"
  146. },
  147. {
  148. "id": 50129,
  149. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  150. "islink": 0,
  151. "pinyin": "sannongzixun"
  152. },
  153. {
  154. "id": 2862,
  155. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  156. "islink": 0,
  157. "pinyin": "sannongzixun/buweidongtai"
  158. },
  159. {
  160. "id": 50126,
  161. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  162. "islink": 0,
  163. "pinyin": "sannongzixun"
  164. },
  165. {
  166. "id": 3976,
  167. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  168. "islink": 0,
  169. "pinyin": "sannongzixun"
  170. },
  171. {
  172. "id": 50189,
  173. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  174. "islink": 0,
  175. "pinyin": "nongminhezuoshe"
  176. },
  177. {
  178. "id": 50190,
  179. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  180. "islink": 0,
  181. "pinyin": "nongminhezuoshe"
  182. }
  183. ],
  184. "img": [
  185. {
  186. "id": 50129,
  187. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  188. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  189. "author": "linyuting123",
  190. "updated_at": "2025-05-30 13:50:54",
  191. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  192. "islink": 0,
  193. "linkurl": "",
  194. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  195. "cat_arr_id": "[1,201]",
  196. "catid": 201,
  197. "level": "[1,2,3]",
  198. "pinyin": "sannongzixun"
  199. },
  200. {
  201. "id": 50129,
  202. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  203. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  204. "author": "佚名",
  205. "updated_at": "2025-05-30 13:50:46",
  206. "introduce": "描述",
  207. "islink": 0,
  208. "linkurl": "",
  209. "copyfrom": "本网",
  210. "cat_arr_id": "[2]",
  211. "catid": 2,
  212. "level": "[2,3]",
  213. "pinyin": "sannongzixun"
  214. },
  215. {
  216. "id": 50129,
  217. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  218. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  219. "author": "佚名",
  220. "updated_at": "2025-05-30 13:50:45",
  221. "introduce": "描述",
  222. "islink": 0,
  223. "linkurl": "",
  224. "copyfrom": "本网",
  225. "cat_arr_id": "[1]",
  226. "catid": 1,
  227. "level": "[2]",
  228. "pinyin": "sannongzixun"
  229. },
  230. {
  231. "id": 50129,
  232. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  233. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  234. "author": "佚名",
  235. "updated_at": "2025-05-30 13:50:44",
  236. "introduce": "描述",
  237. "islink": 0,
  238. "linkurl": "",
  239. "copyfrom": "本网",
  240. "cat_arr_id": "[11]",
  241. "catid": 11,
  242. "level": "[2]",
  243. "pinyin": "xinnongcun"
  244. },
  245. {
  246. "id": 50129,
  247. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  248. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  249. "author": "佚名",
  250. "updated_at": "2025-05-30 13:50:43",
  251. "introduce": "描述",
  252. "islink": 0,
  253. "linkurl": "",
  254. "copyfrom": "本网",
  255. "cat_arr_id": "[14,240]",
  256. "catid": 240,
  257. "level": "[2,3]",
  258. "pinyin": "sannongzixun"
  259. },
  260. {
  261. "id": 50129,
  262. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  263. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  264. "author": "佚名",
  265. "updated_at": "2025-04-16 11:04:29",
  266. "introduce": "描述",
  267. "islink": 0,
  268. "linkurl": "",
  269. "copyfrom": "本网",
  270. "cat_arr_id": null,
  271. "catid": 36,
  272. "level": "[2]",
  273. "pinyin": "sannongzixun"
  274. }
  275. ]
  276. }
  277. },
  278. {
  279. "component_type": 1,//1=新闻 2=广告
  280. "component_style": 1,//样式
  281. "sort": 1,//组件位置
  282. "data": {
  283. "alias":"一级导航名称2",
  284. "category_id": 11,
  285. "pinyin": "sannongzixun/zhengcefagui",
  286. "text": [
  287. {
  288. "id": 2863,
  289. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  290. "islink": 0,
  291. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  292. },
  293. {
  294. "id": 50129,
  295. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  296. "islink": 0,
  297. "pinyin": "sannongzixun"
  298. },
  299. {
  300. "id": 50129,
  301. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  302. "islink": 0,
  303. "pinyin": "sannongzixun"
  304. },
  305. {
  306. "id": 2862,
  307. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  308. "islink": 0,
  309. "pinyin": "sannongzixun/buweidongtai"
  310. },
  311. {
  312. "id": 50126,
  313. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  314. "islink": 0,
  315. "pinyin": "sannongzixun"
  316. },
  317. {
  318. "id": 3976,
  319. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  320. "islink": 0,
  321. "pinyin": "sannongzixun"
  322. },
  323. {
  324. "id": 50189,
  325. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  326. "islink": 0,
  327. "pinyin": "nongminhezuoshe"
  328. },
  329. {
  330. "id": 50190,
  331. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  332. "islink": 0,
  333. "pinyin": "nongminhezuoshe"
  334. }
  335. ],
  336. "img": [
  337. {
  338. "id": 50129,
  339. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  340. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  341. "author": "linyuting123",
  342. "updated_at": "2025-05-30 13:50:54",
  343. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  344. "islink": 0,
  345. "linkurl": "",
  346. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  347. "cat_arr_id": "[1,201]",
  348. "catid": 201,
  349. "level": "[1,2,3]",
  350. "pinyin": "sannongzixun"
  351. },
  352. {
  353. "id": 50129,
  354. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  355. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  356. "author": "佚名",
  357. "updated_at": "2025-05-30 13:50:46",
  358. "introduce": "描述",
  359. "islink": 0,
  360. "linkurl": "",
  361. "copyfrom": "本网",
  362. "cat_arr_id": "[2]",
  363. "catid": 2,
  364. "level": "[2,3]",
  365. "pinyin": "sannongzixun"
  366. },
  367. {
  368. "id": 50129,
  369. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  370. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  371. "author": "佚名",
  372. "updated_at": "2025-05-30 13:50:45",
  373. "introduce": "描述",
  374. "islink": 0,
  375. "linkurl": "",
  376. "copyfrom": "本网",
  377. "cat_arr_id": "[1]",
  378. "catid": 1,
  379. "level": "[2]",
  380. "pinyin": "sannongzixun"
  381. },
  382. {
  383. "id": 50129,
  384. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  385. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  386. "author": "佚名",
  387. "updated_at": "2025-05-30 13:50:44",
  388. "introduce": "描述",
  389. "islink": 0,
  390. "linkurl": "",
  391. "copyfrom": "本网",
  392. "cat_arr_id": "[11]",
  393. "catid": 11,
  394. "level": "[2]",
  395. "pinyin": "xinnongcun"
  396. },
  397. {
  398. "id": 50129,
  399. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  400. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  401. "author": "佚名",
  402. "updated_at": "2025-05-30 13:50:43",
  403. "introduce": "描述",
  404. "islink": 0,
  405. "linkurl": "",
  406. "copyfrom": "本网",
  407. "cat_arr_id": "[14,240]",
  408. "catid": 240,
  409. "level": "[2,3]",
  410. "pinyin": "sannongzixun"
  411. },
  412. {
  413. "id": 50129,
  414. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  415. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  416. "author": "佚名",
  417. "updated_at": "2025-04-16 11:04:29",
  418. "introduce": "描述",
  419. "islink": 0,
  420. "linkurl": "",
  421. "copyfrom": "本网",
  422. "cat_arr_id": null,
  423. "catid": 36,
  424. "level": "[2]",
  425. "pinyin": "sannongzixun"
  426. }
  427. ]
  428. }
  429. },
  430. {
  431. "component_type": 1,//1=新闻 2=广告
  432. "component_style": 1,//样式
  433. "sort": 3,//组件位置
  434. "data": {
  435. "alias":"一级导航名称3",
  436. "category_id": 11,
  437. "pinyin": "sannongzixun/zhengcefagui",
  438. "text": [
  439. {
  440. "id": 2863,
  441. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  442. "islink": 0,
  443. "pinyin": "nongminxinnongcun/nongcunxinfangshe"
  444. },
  445. {
  446. "id": 50129,
  447. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  448. "islink": 0,
  449. "pinyin": "sannongzixun"
  450. },
  451. {
  452. "id": 50129,
  453. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  454. "islink": 0,
  455. "pinyin": "sannongzixun"
  456. },
  457. {
  458. "id": 2862,
  459. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  460. "islink": 0,
  461. "pinyin": "sannongzixun/buweidongtai"
  462. },
  463. {
  464. "id": 50126,
  465. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  466. "islink": 0,
  467. "pinyin": "sannongzixun"
  468. },
  469. {
  470. "id": 3976,
  471. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  472. "islink": 0,
  473. "pinyin": "sannongzixun"
  474. },
  475. {
  476. "id": 50189,
  477. "title": "7以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  478. "islink": 0,
  479. "pinyin": "nongminhezuoshe"
  480. },
  481. {
  482. "id": 50190,
  483. "title": "8以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  484. "islink": 0,
  485. "pinyin": "nongminhezuoshe"
  486. }
  487. ],
  488. "img": [
  489. {
  490. "id": 50129,
  491. "title": "1以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  492. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  493. "author": "linyuting123",
  494. "updated_at": "2025-05-30 13:50:54",
  495. "introduce": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  496. "islink": 0,
  497. "linkurl": "",
  498. "copyfrom": "以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  499. "cat_arr_id": "[1,201]",
  500. "catid": 201,
  501. "level": "[1,2,3]",
  502. "pinyin": "sannongzixun"
  503. },
  504. {
  505. "id": 50129,
  506. "title": "2以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  507. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  508. "author": "佚名",
  509. "updated_at": "2025-05-30 13:50:46",
  510. "introduce": "描述",
  511. "islink": 0,
  512. "linkurl": "",
  513. "copyfrom": "本网",
  514. "cat_arr_id": "[2]",
  515. "catid": 2,
  516. "level": "[2,3]",
  517. "pinyin": "sannongzixun"
  518. },
  519. {
  520. "id": 50129,
  521. "title": "3以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  522. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  523. "author": "佚名",
  524. "updated_at": "2025-05-30 13:50:45",
  525. "introduce": "描述",
  526. "islink": 0,
  527. "linkurl": "",
  528. "copyfrom": "本网",
  529. "cat_arr_id": "[1]",
  530. "catid": 1,
  531. "level": "[2]",
  532. "pinyin": "sannongzixun"
  533. },
  534. {
  535. "id": 50129,
  536. "title": "4以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  537. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  538. "author": "佚名",
  539. "updated_at": "2025-05-30 13:50:44",
  540. "introduce": "描述",
  541. "islink": 0,
  542. "linkurl": "",
  543. "copyfrom": "本网",
  544. "cat_arr_id": "[11]",
  545. "catid": 11,
  546. "level": "[2]",
  547. "pinyin": "xinnongcun"
  548. },
  549. {
  550. "id": 50129,
  551. "title": "5以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙",
  552. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  553. "author": "佚名",
  554. "updated_at": "2025-05-30 13:50:43",
  555. "introduce": "描述",
  556. "islink": 0,
  557. "linkurl": "",
  558. "copyfrom": "本网",
  559. "cat_arr_id": "[14,240]",
  560. "catid": 240,
  561. "level": "[2,3]",
  562. "pinyin": "sannongzixun"
  563. },
  564. {
  565. "id": 50129,
  566. "title": "6以生态为内核推动文旅发展海南深山黎寨找到乡村振兴金钥匙6",
  567. "imgurl": "http://img.bjzxtw.org.cn/dev/image/jpeg/20250220/1740044079754901.png",
  568. "author": "佚名",
  569. "updated_at": "2025-04-16 11:04:29",
  570. "introduce": "描述",
  571. "islink": 0,
  572. "linkurl": "",
  573. "copyfrom": "本网",
  574. "cat_arr_id": null,
  575. "catid": 36,
  576. "level": "[2]",
  577. "pinyin": "sannongzixun"
  578. }
  579. ]
  580. }
  581. },
  582. ],
  583. "ad": {
  584. "ad_tag": "nmw_index_0003"
  585. }
  586. }
  587. //静态链接测试数据
  588. const testTemplateData2 = {
  589. "sectorName": "linkSector",
  590. "componentList": [
  591. {
  592. "component_type": 3,
  593. "component_style": 1,
  594. "sort": 1,
  595. "componentData": {}
  596. }
  597. ],
  598. "sort": 4
  599. }
  600. //2.页面数据 end---------------------------------------->
  601. </script>
  602. <style lang="less" scoped>
  603. @import '@/assets/css/class.less';
  604. </style>